using System;
using System.Text.RegularExpressions;
namespace TemplateCompiler
{
	public static class RegexString
	{
		public static bool Matches(this string value, string regexPattern) {
			Regex regex = new Regex(regexPattern);
			return regex.IsMatch(value);
		}
	}
}

